package xian.woniu.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import xian.woniu.entity.Ordertype;
import xian.woniu.entity.OrdertypeExample;
@Repository
public interface OrdertypeMapper {

    /**
     * 卢博写的，查询当前所选医院拥有的签约团队套餐
     */
    List selSignPackage(@Param(value="depname")String depname);

    int countByExample(OrdertypeExample example);

    int deleteByExample(OrdertypeExample example);

    int deleteByPrimaryKey(Integer otid);

    int insert(Ordertype record);

    int insertSelective(Ordertype record);

    List<Ordertype> selectByExampleWithBLOBs(OrdertypeExample example);

    List<Ordertype> selectByExample(OrdertypeExample example);

    Ordertype selectByPrimaryKey(Integer otid);

    int updateByExampleSelective(@Param("record") Ordertype record, @Param("example") OrdertypeExample example);

    int updateByExampleWithBLOBs(@Param("record") Ordertype record, @Param("example") OrdertypeExample example);

    int updateByExample(@Param("record") Ordertype record, @Param("example") OrdertypeExample example);

    int updateByPrimaryKeySelective(Ordertype record);

    int updateByPrimaryKeyWithBLOBs(Ordertype record);

    int updateByPrimaryKey(Ordertype record);
}